#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>

char get_first();
int main(){

    while (true){
        putchar(get_first());
    }
    return 0;
}

char get_first(){
    char c = '\0';
    while ((c=getchar())!='\n'){
        if (!isspace(c))
            break;
    }
    while (getchar()!='\n')
        continue;
    return c;
}
